//
//  ShowNumModel.swift
//  Venus
//
//  Created by qurongxiang on 2018/8/3.
//  Copyright © 2018年 zhaowang. All rights reserved.
//

import UIKit
import SwiftyJSON
class ShowNumModel: NSObject {
    
    /// 通知消息
    var notifyMsgNum : Int = 0
    /// 查看次数
    var seeNum : Int =  0
    ///预约次数
    var appointmentMsgNum : Int =  0
    ///分享次数
    var shareNum:Int =  0
    
    override init() {
        super.init()
    }
    
    init(fromJson json: JSON!){
        if json.isEmpty{
            return
        }
        notifyMsgNum = json["notifyMsgNum"].intValue
        seeNum = json["seeNum"].intValue
        appointmentMsgNum = json["appointmentMsgNum"].intValue
        shareNum = json["shareNum"].intValue
    }
}
